package gui;

public class IntProperty implements IProperty<Integer> {
	private String 	description;
	private int		min;
	private int		max;
	private int		value;
	private int		step;
	
	public IntProperty(String desc, int min, int max,int step, int value){
		this.description = desc;
		this.min = min;
		this.max = max;
		this.value = value;
		this.step = step;
	}
	
	public String getDescription() { return description;}
	public Integer	getMin(){return this.min;}
	public Integer	getMax(){return this.max;}
	public Integer	getCurrent(){return this.value;}
	public Integer	getStep(){return this.step;}
	public void setMin(Integer min){this.min = min;}
	public void setMax(Integer max){this.max = max;}
	public void setCurrent(Integer value){this.value = value;}
	public void setStep(Integer step){this.step = step;}
}
